package com.tz.service;

import com.tz.entity.Category;

import java.util.List;

/**
 * 类别service接口
 */
public interface CategoryService {

    Category save(Category category);

    List<Category> getAll();

    List<Category> getByLevel(int level);
}
